package com.glela.live.dao.impl;

import com.glela.live.dao.LiveRoomFollowDao;
import com.glela.live.mapper.LiveRoomFollowMapper;
import com.glela.live.model.LiveRoomFollow;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class LiveRoomFollowDaoImpl implements LiveRoomFollowDao{

    @Autowired
    private LiveRoomFollowMapper liveRoomFollowMapper;

    @Override
    public int addLiveRoomFollow(LiveRoomFollow liveRoomFollow) {
        return liveRoomFollowMapper.addLiveRoomFollow(liveRoomFollow);
    }

    @Override
    public int delLiveRoomFollow(LiveRoomFollow liveRoomFollow) {
        return liveRoomFollowMapper.delLiveRoomFollow(liveRoomFollow);
    }
}
